package cn.iocoder.yudao.module.biz.controller.admin.salesteam.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.*;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 销售团队信息新增/修改 Request VO")
@Data
public class BizSalesTeamSaveReqVO {

    @Schema(description = "小组ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "885")
    private Integer teamId;

    @Schema(description = "小组名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "小组名称不能为空")
    private String teamName;

    @Schema(description = "小组编号")
    private String teamCode;

    @Schema(description = "小组经理ID，关联销售人员表的员工ID", example = "25400")
    private Integer managerId;

    @Schema(description = "所属部门ID，关联部门表", example = "1808")
    private Integer departmentId;

    @Schema(description = "小组销售目标金额")
    private BigDecimal teamGoal;

    @Schema(description = "本季度销售目标")
    private BigDecimal currentQuarterTarget;

    @Schema(description = "小组描述信息", example = "随便")
    private String teamDescription;

    @Schema(description = "小组成立日期")
    private LocalDateTime establishmentDate;

    @Schema(description = "小组状态：1-活跃，0-已解散", example = "2")
    private Integer status;

    @Schema(description = "负责销售区域")
    private String region;

    @Schema(description = "重点销售产品类别")
    private String productFocus;

    @Schema(description = "合作模式")
    private String contractType;

    private List<SanBizSalesTeamUser> items;

}